#ifndef _FILESYSTEMERROR_H_
#define _FILESYSTEMERROR_H_

#include <exception>
#include <string>

using std::exception;
using std::string;

namespace Avd {

class FileSystemError : public exception {
public:
	FileSystemError(string error) : error(error) { }

	virtual ~FileSystemError() throw() { }

	virtual const char* what() const throw() {
		return error.c_str();
	}

private:
	string error;

};

}

#endif // _FILESYSTEMERROR_H_
